package com.laiketui.order.service;

import com.laiketui.order.api.dto.MchOrderDTO;
import com.laiketui.order.api.dto.MchPrintTagInfoDTO;
import com.laiketui.order.api.page.MyPage;
import com.laiketui.order.api.params.mch.*;

public interface MchOrderService {

    MyPage<MchOrderDTO> getOrderList(MchOrderListParams params);

    /**
     * 确认订单
     * @param params
     * @return
     */
    String confirm(MchOrderConfirmParams params);

    /**
     * 订单详情
     * @param params
     * @return
     */
    MchOrderDTO info(MchOrderInfoParams params);

    /**
     * 备货完成
     * @param params
     * @return
     */
    String ready(MchOrderDetailReadyParams params);

    /**
     * 发货
     * @param params
     * @return
     */
    String send(MchOrderSendParams params);

    /**
     * 撤销备货
     * @param params
     * @return
     */
    String revoke(MchOrderDetailReadyParams params);

    /**
     * 打印标签详情
     * @param params
     * @return
     */
    MchPrintTagInfoDTO printTagInfo(MchOrderDetailParams params);

    /**
     * 更新发货单信息
     * @param params
     * @return
     */
    String sendUpdate(MchOrderSendParams params);

    /**
     * 安排发货
     * @param params
     * @return
     */
    String shipment(MchOrderInfoParams params);
    /**
     * 取消安排发货
     * @param params
     * @return
     */
    String shipmentCancel(MchOrderInfoParams params);
}
